jQuery(document).ready(function(){var e=window.send_to_editor;jQuery(".upload_image_button").click(function(){var t=jQuery(this).parent();window.send_to_editor=function(n){imgurl=jQuery("img",n).attr("src");t.find(".upload_image_field").val(imgurl);tb_remove();window.send_to_editor=e};formfield=jQuery("#upload_image").attr("name");tb_show("","media-upload.php?type=image&TB_iframe=true");return false})})